package com.cqut.service;

import com.cqut.entity.User;

/**
 * <p>
 * 非空 服务类
 * </p>
 *
 * @author 冯永龙
 * @since 2021-06-15
 */
public interface UserService {
    User login(User user);

    boolean register(User user);

    User findUserById(int id);

    User findUserByAccount(String account);

    boolean updateUserBaseInfo(User user);

    boolean updateSettingInfo(User user);

    boolean updateBindingAccount(User user);
}
